const env = process.env.NODE_ENV == 'development' ? 'dev' : 'prod'
const configEnv = {
	// 开发环境
	dev: {
		// url请求路径
		// baseUrl: 'http://36.138.25.83:9099',
		// baseUrl: 'https://qcytest.quwen.xyz',
		// baseUrl: 'http://192.168.0.110:9099',
		baseUrl: 'https://qcytest.quwen.xyz',
		// baseUrl: 'http://192.168.0.13:9099',
		// baseUrl: 'http://192.168.0.110:9099',
		// baseUrl: 'https://192.168.111.144:9099',
		// baseUrl: 'http://192.168.110.164:9099',
		// baseUrl: 'http://192.168.110.101:9099',
		//上传url
		uploadUrl: 'https://qcytest.quwen.xyz/community/file/upload',
		// 图片路径
		imgUrl: 'https://qcytest.quwen.xyz',
	},
	// 生产环境
	prod: {
		// url请求路径
		baseUrl: 'https://qcytest.quwen.xyz',
		//上传url
		uploadUrl: 'https://qcytest.quwen.xyz/community/file/upload',
		// 图片路径
		imgUrl: 'https://qcytest.quwen.xyz',
	}
}
// 应用全局配置
module.exports = {
	...configEnv[env]
}